<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
    <h:head>
        <title>Sistema de Administracion KallSonys - OMS</title>
        <h:outputStylesheet name="css/jsfcrud.css"/>
    </h:head>
    <h:body>
        <h1>Sistema de Administracion KallSonys - OMS</h1> 
        <h2>Bienvenido: <h:outputText value="#{commonBean.context.userPrincipal.name}"></h:outputText> </h2> 

        <hr width="100%" />
        <br/>

        <c:if test="#{commonBean.productosAdmonConsulta}"   >
            <b>Administracion de Productos</b><br/>
            <h:form>
                <h:commandLink action="/oms/product/List" value="Administracion de Productos"/><br/>
            </h:form>
            <br/><br/>
        </c:if>

        <c:if test="#{commonBean.campannas}"   >
            <h:form>
                <b>Administracion de Campanas</b><br/>
                <h:commandLink action="/oms/campaigns/List" value="Administracion de Campanas"/><br/>
            </h:form>
        </c:if>
        <br/><br/>

        <c:if test="#{commonBean.ordenesAdmonConsulta}">
            <b>Administracion de Ordenes</b><br/>
            <h:form>
                <h:commandLink action="/oms/orderOms/List" value="Administracion de Ordenes"/><br/>
            </h:form>
            <br/><br/>
        </c:if>


        <c:if test="#{commonBean.clientesAdmonConsulta}" >
            <b>Administracion de Clientes</b><br/>
            <h:form>
                <h:commandLink action="/oms/customer/List" value="Administracion de Clientes"/><br/>
            </h:form>
            <br/><br/>
        </c:if>


        <c:if test="#{commonBean.administrador}" >
            <b>Administracion de Parametros del Sistema</b><br/>
            <h:form>
                <h:commandLink action="/oms/parameteroms/List" value="Administracion de Parametros del Sistema"/><br/>
            </h:form>
            <br/><br/>
        </c:if>

        <div style="display:none">
            <br/><br/><br/><br/>
            <h:form>
                <h:commandLink action="/oms/address/List" value="Administracion de Direcciones"/>
                <h:commandLink action="/oms/city/List" value="Show All City Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/country/List" value="Show All Country Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/creditcard/List" value="Show All Creditcard Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/customer/List" value="Show All Customer Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/orderOms/List" value="Show All OrderOms Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/orderitem/List" value="Show All Orderitem Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/orderquote/List" value="Show All Orderquote Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/shippingcompany/List" value="Show All Shippingcompany Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/state/List" value="Show All State Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/supplier/List" value="Show All Supplier Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/product/List" value="Show All Product Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/campaigns/List" value="Show All Campaigns Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/customer/List" value="Show All Customer Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/vcategory/List" value="Show All Vcategory Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/parameteroms/List" value="Show All Parameteroms Items"/>
            </h:form>
            <h:form>
                <h:commandLink action="/oms/caregory/List" value="Show All Caregory Items"/>
            </h:form>
        </div>
    </h:body>
</html>

